package com.example.project_springboot.service.impl;

import com.example.project_springboot.mapper.UsersMapper;
import com.example.project_springboot.pojo.Users;
import com.example.project_springboot.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersServiceImpl  implements UsersService {
    @Autowired
    UsersMapper usersMapper;
    @Override
    public Users loginOfUsers(Users users) {
        return usersMapper.findPsdAndUnm(users);
    }
}
